#!/usr/bin/env python
#coding: utf-8
'''
Created on 2017年2月22日

@author: Administrator
'''
from django.conf.urls import patterns, url

urlpatterns = patterns('funcresource.views.admin',
    url(r'^resource/$', 'index', name='resource_resource_index'),
    url(r'^resource/list/$', 'list', name='resource_resource_list'),
    url(r'^resource/parentlist/$', 'parent_list', name='resource_resource_parent_list'),
    url(r'^resource/save/$', 'save', name='resource_resource_save'),
    url(r'^resource/delete/$', 'delete', name='resource_resource_delete'),
    url(r'^resource/stop/$', 'stop', name='resource_resource_stop'),
    url(r'^resource/enable/$', 'enable', name='resource_resource_enable'),
)
urlpatterns += patterns('funcresource.views.admin.funcresou',
    url(r'^funcresou/$', 'index', name='resource_funcresou_index'),
    url(r'^funcresou/list/$', 'list', name='resource_funcresou_list'),
    url(r'^funcresou/save/$', 'save', name='resource_funcresou_save'),
    url(r'^funcresou/delete/$', 'delete', name='resource_funcresou_delete'),
    url(r'^funcresou/reopen/$', 'reopen', name='resource_funcresou_reopen'),
    url(r'^funcresou/all/$', 'all', name='resource_funcresou_all'),
)
urlpatterns += patterns('funcresource.views.admin.functional',
    url(r'^functional/$', 'index', name='resource_functional_index'),
    url(r'^functional/list/$', 'list', name='resource_functional_list'),
    url(r'^functional/save/$', 'save', name='resource_functional_save'),
    url(r'^functional/delete/$', 'delete', name='resource_functional_delete'),
    url(r'^functional/reopen/$', 'reopen', name='resource_functional_reopen'),
)
urlpatterns += patterns('funcresource.views.admin.userresource',
    url(r'^userresource/$', 'index', name='resource_userresource_index'),
    url(r'^userresource/list/$', 'list', name='resource_userresource_list'),
    url(r'^userresource/delete/$', 'delete', name='resource_userresource_delete'),
    url(r'^userresource/reopen/$', 'reopen', name='resource_userresource_reopen'),
)
urlpatterns += patterns('funcresource.views.admin.userfunctional',
    url(r'^userfunctional/$', 'index', name='resource_userfunctional_index'),
    url(r'^userfunctional/list/$', 'list', name='resource_userfunctional_list'),
    url(r'^userfunctional/delete/$', 'delete', name='resource_userfunctional_delete'),
    url(r'^userfunctional/reopen/$', 'reopen', name='resource_userfunctional_reopen'),
)
urlpatterns += patterns('funcresource.views.admin.resourcegroup',
    url(r'^resourcegroup/$', 'index', name='resource_resourcegroup_index'),
    url(r'^resourcegroup/list/$', 'list', name='resource_resourcegroup_list'),
)
